#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
交通工具模块
script name: __init__.py
Created on 2020/2/25 22:28 by PyCharm
@author: fujianjian
"""
from flask import Blueprint, jsonify

vehicle_blueprint = Blueprint('vehicle', __name__)

from . import trains_api


@vehicle_blueprint.route('/category', methods=['post', 'get'])
def vechicle_category():
    vechicle = ['trains', 'auto car', 'airplane']
    return jsonify(vechicle)
